package com.th.supcom.pds.domain.pojo;

import net.carefx.framework.translate.Translatable;
import net.carefx.framework.translate.annotation.TranslateField;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * PhamMachineConfig Pojo对象.
 * 
 * 药房机器属性配置.
 */
public class PhamMachineConfig implements java.io.Serializable, Translatable
{
    private static final long serialVersionUID = 1L;

    /** 主键. */
    private Long m_phamMachineConfigId;

    /** 机器名称. */
    private String m_machineName;

    /** 机器名称拼音码. */
    private String m_pinYinCode;

    /** 机器类型 P=打印机 A=摆药机. */
    @TranslateField (fullQualifiedName = "PDS0016", targetFieldName = "m_machineTypeName")
    private String m_machineType;
    private String m_machineTypeName;
    /** 服务地址. */
    private String m_serviceSite;

    /** 物理地址. */
    private String m_location;

    /** 服务药房. */
    @TranslateField (translatorName = "organizationTranslator", targetFieldName = "m_deptName")
    private String m_deptCode;
    private String m_deptName;
    /** 启用标志. */
    private Integer m_enableFlag;

    private String m_deptPinyinCode;

    /**
     * 默认构造器 .
     */
    public PhamMachineConfig ()
    {
    }

    public String getDeptPinyinCode ()
    {

        return m_deptPinyinCode;
    }

    public void setDeptPinyinCode (String deptPinyinCode)
    {

        m_deptPinyinCode = deptPinyinCode;
    }

    /**
     * 获取主键属性.
     * 
     */
    public Long getPhamMachineConfigId ()
    {
        return m_phamMachineConfigId;
    }

    public String getDeptName ()
    {

        return m_deptName;
    }

    public void setDeptName (String deptName)
    {

        m_deptName = deptName;
    }

    /**
     * 设置主键属性.
     * 
     * @param phamMachineConfigId.
     */
    public void setPhamMachineConfigId (Long phamMachineConfigId)
    {
        m_phamMachineConfigId = phamMachineConfigId;
    }

    /**
     * 获取机器名称属性.
     * 
     */
    public String getMachineName ()
    {
        return m_machineName;
    }

    /**
     * 设置机器名称属性.
     * 
     * @param machineName.
     */
    public void setMachineName (String machineName)
    {
        m_machineName = machineName;
    }

    /**
     * 获取机器名称拼音码属性.
     * 
     */
    public String getPinYinCode ()
    {
        return m_pinYinCode;
    }

    /**
     * 设置机器名称拼音码属性.
     * 
     * @param pinYinCode.
     */
    public void setPinYinCode (String pinYinCode)
    {
        m_pinYinCode = pinYinCode;
    }

    /**
     * 获取机器类型 P=打印机 A=摆药机属性.
     * 
     */
    public String getMachineType ()
    {
        return m_machineType;
    }

    /**
     * 设置机器类型 P=打印机 A=摆药机属性.
     * 
     * @param machineType.
     */
    public void setMachineType (String machineType)
    {
        m_machineType = machineType;
    }

    /**
     * 获取服务地址属性.
     * 
     */
    public String getServiceSite ()
    {
        return m_serviceSite;
    }

    /**
     * 设置服务地址属性.
     * 
     * @param serviceSite.
     */
    public void setServiceSite (String serviceSite)
    {
        m_serviceSite = serviceSite;
    }

    /**
     * 获取物理地址属性.
     * 
     */
    public String getLocation ()
    {
        return m_location;
    }

    /**
     * 设置物理地址属性.
     * 
     * @param location.
     */
    public void setLocation (String location)
    {
        m_location = location;
    }

    /**
     * 获取服务药房属性.
     * 
     */
    public String getDeptCode ()
    {
        return m_deptCode;
    }

    /**
     * 设置服务药房属性.
     * 
     * @param deptCode.
     */
    public void setDeptCode (String deptCode)
    {
        m_deptCode = deptCode;
    }

    /**
     * 获取启用标志属性.
     * 
     */
    public Integer getEnableFlag ()
    {
        return m_enableFlag;
    }

    /**
     * 设置启用标志属性.
     * 
     * @param enableFlag.
     */
    public void setEnableFlag (Integer enableFlag)
    {
        m_enableFlag = enableFlag;
    }

    public String getMachineTypeName ()
    {

        return m_machineTypeName;
    }

    public void setMachineTypeName (String machineTypeName)
    {

        m_machineTypeName = machineTypeName;
    }

    /**
     * 打印字符串.
     * 
     * @return 打印.
     */
    public String toString ()
    {
        StringBuffer sb = new StringBuffer (100);
        sb.append ("---------------------------------- start ----------------------------------");
        sb.append ("phamMachineConfigId:" + m_phamMachineConfigId + " machineName:" + m_machineName + " pinYinCode:" + m_pinYinCode);
        sb.append ("machineType:" + m_machineType + " serviceSite:" + m_serviceSite + " location:" + m_location);
        sb.append ("deptCode:" + m_deptCode + " enableFlag:" + m_enableFlag);

        sb.append ("----------------------------------  end  ----------------------------------");
        return sb.toString ();
    }

    /** 日志记录器. */
    public static final Logger s_logger = LoggerFactory.getLogger (PhamMachineConfig.class);

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
}